﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Lcygcc.Domain.Repository.Entity
{
    /// <summary>
    /// 
    /// </summary>
    public class TaskCustomInfo
    {
        public int ID { get; set; }
        
        /// <summary>
        /// 平台类型
        /// </summary>
        public int PlatType { get; set; }
        
        /// <summary>
        /// 任务名称
        /// </summary>
        public string ServiceName {get;set;} 
        /// <summary>
        /// 任务编码
        /// </summary>
        public string ServiceID { get; set; }

        /// <summary>
        /// 定时表达式
        /// </summary>
        public string Cron { get; set; }

        /// <summary>
        /// 转化方法
        /// </summary>
        public string AdapterMethod { get; set; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool IsEnable { get; set; }

        /// <summary>
        /// 任务类型
        /// </summary>
        public int TaskType { get; set; }

        /// <summary>
        /// 是否同步历史数据
        /// </summary>
        public int IsSyncData { get; set; }
    }
}
